home *** CD-ROM | disk | FTP | other *** search
/ Champak 52 / Volume 52 - JOGO DISK .iso / Games / scoobycastillotenebroso.swf / scripts / DefineSprite_1240 / frame_3 / PlaceObject2_738_601 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Text File  |  2007-10-01  |  486b  |  13 lines

  1. onClipEvent(enterFrame){
  2.    if(this.hitTest(_root.witness) && eval("_root.controler:witness_detection") == true)
  3.    {
  4.       set("_root.controler:witness_detection",false);
  5.       _root.sounds.gotoAndPlay("stop_toe_run");
  6.       set("_root.controler:Scooby_runs",false);
  7.       set("_root.controler:Scooby_walks",false);
  8.       set("_root.controler:Scooby_cautious",true);
  9.       set("_root.controler:Scooby_scared",false);
  10.       set("_root.controler:Scooby_stops",false);
  11.    }
  12. }
  13.